﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ReturnList.ascx.cs"
    Inherits="NCS.Module.CMS.Admin.WorkFlow.ReturnList" %>
    <%@ Register Assembly="NCS.Library" Namespace="NCS.Library.Controls"
    TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<%--<asp:UpdatePanel ID="uppanelReturnList" runat="server" UpdateMode="Conditional"
    RenderMode="Inline">
    <triggers>
        <asp:AsyncPostBackTrigger ControlID="dropZones" EventName="SelectedIndexChanged" />
        <asp:AsyncPostBackTrigger ControlID="dtgReturnList" EventName="RowCommand" />
    </triggers>
    <contenttemplate>--%>
    <asp:Label id="lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
        <table id="Table1" align="center" cellpadding="3" cellspacing="0" width="100%">
        
	        <tr>
		        <td >
			        <b>Chuyên mục</b></td>
		        <td>
			        <asp:DropDownList ID="dropZones" runat="server" AutoPostBack="True" Width="480px">
			        </asp:DropDownList></td>
	        </tr>
	        <tr>
		        <td colspan="2">
			        <cc1:GridView ID="dtgReturnList" runat="server" AllowPaging="True" AutoGenerateColumns="False"
				        OnRowCommand="dtgReturnList_RowCommand" OnRowDataBound="dtgReturnList_RowDataBound"
				        PageSize="15" Width="100%">
				        <AlternatingRowStyle CssClass="Grid_Raw2" />
                            <RowStyle CssClass="Grid_Raw1" />
                            <HeaderStyle Font-Bold="True" CssClass="Grid_Top"></HeaderStyle>
				        <Columns>
					        <asp:BoundField DataField="Content_ID" HeaderStyle-Width="5%" HeaderText="ID" Visible="False" />
					        <asp:TemplateField HeaderText="Tên bài">
						        <ItemTemplate>
							        <asp:HyperLink ID="lnkHeadline" runat="server"></asp:HyperLink>
						        </ItemTemplate>
					        </asp:TemplateField>
					        <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="150px"
						        HeaderText="Thao tác" ItemStyle-HorizontalAlign="Center">
						        <ItemTemplate>
							        <asp:Button ID="Button1" runat="server" CommandArgument='<%# Eval("Content_ID") %>' CommandName="deploywaiting" CssClass="Button"
								        Text="Gửi lên" />
							        <asp:Button ID="Button2" runat="server" CommandArgument='<%# Eval("Content_ID") %>' CommandName="edit" CssClass="Button" Text="Sửa" />
							        <asp:Button ID="cmdDel" runat="server" CommandArgument='<%# Eval("Content_ID") %>' CommandName="delelecontent" CssClass="Button" Text="Xóa" />
							        <div style="display:none;">
							        <asp:hyperlink runat=server id="hplComment" CssClass="lightwindow page-options" params="lightwindow_type=external,lightwindow_width=800,lightwindow_height=350">Comment</asp:hyperlink>
									</div>
						        </ItemTemplate>
					        </asp:TemplateField>
				        </Columns>
			        </cc1:GridView>
		        </td>
	        </tr>
        </table>
<%--    </contenttemplate>
</asp:UpdatePanel>--%>